package net.csdn.business.common.domain.request.aduit;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @ClassName ChangeAuditStateDto
 * @Description 审核状态变更DTO
 * @Author zhangyl
 * @Date 2023/5/31 17:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChangeAuditStateDto {
    /**
     * 资源类型：详细见 AuditTypeConstants;
     */
    @NotBlank(message = "resType不能为空")
    private String resType;

    /**
     * 资源id
     */
    @NotBlank(message = "resId不能为空")
    private String resId;

    /**
     * 变更后的资源审核状态
     */
    @NotNull(message = "auditState不能为空")
    private Integer auditState;

    /**
     * 当前用户id
     */
    private String currUserId;
}
